package com.phoebe.auth.repository;

import com.phoebe.auth.model.AuthAccessKey;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author: zhaojd1604@gmail.com
 * @date: 2019-01-03 20:39
 * @description: 秘钥对Repository
 * @since: V0.0.1
 */
@Repository
public interface AuthAccessKeyRepository extends JpaRepository<AuthAccessKey, Long> {

    AuthAccessKey findByAppIdAndAccessKeyId(long appId, String accessKeyId);
}
